Menus 
Help version 1.0.0

File
•New allows you to creat a window filled with a number you provide or you can paste the clipboard into a new window.

•Open or Save any file format from the following list:

MacPhase - saves and reads data in MacPhase format

Text - reads and stores in most text formats; also you can save text in other forms like Hex and PostScript™ image format

Binary - reads and stores data in byte, 2 byte integer, 4 byte integer, and real form, also all formats are PC form (byte swapping) supported.

PICT - reads and stores both version 2 PICTS can be read, this is not fully supported at this time but it does work most of the time.  Note:  MacPhase assumes that it is a gray level PICT.

Mathematica - stores data in a text form which can be read into Mathematica using the Mathematica command Get[] command

TIFF - Most 4 and 8 bit TIFFs can be read, MacPhase can not yet write TIFFs

CLUT - Read and save Color look up tables which you have made by activating the CLUT window and chosing Save or Open from the file menu.  These CLUTs can be either made in MacPhase by double clicking on an entry in the CLUT or you can create CLUTs in another program then using Multifinder you can swap to MacPhase and save the CLUT.  In order to do the later, make sure Restore CLUT on resume is off in Preferences.

PICS -MacPhase does not read/write the PICS format yet, look for this in later versions.

snd Resource - MacPhase can read snd resources but it can not store them yet.

These file formats can be selected by using the pop up menu at the bottom of the save/open dialog box.  MacPhase filters the files shown in the file picker dialog box according to most obvious file types used.  If your file may is not the type MacPhase looks for, check the "Show all files" button.

•Preferences allows chose in some options on the way MacPhase operates.  All these items are self explainitory except for the CLUT refresh on resume from multifinder.  If this is un-checked, you will be able to move from a drawing program which has its own CLUT, click into MacPhase, highlight the CLUT window, and save the Mac's present color look up table.  Then open this file and it will be placed into the CLUT menu.

•Printing is available under Print Window.  I hope to add a half/tone algorithm which will allow you to print reasonably well on a ImageWriter or DeskWriter.  ALSO NOTE:  If you do have a postscript laser printer but the driver an earlier version you can save your data in Postscript™ form or plain text then use the postscript command IMAGE to print out a half-tone.  See the postscript Blue Book for more information.

•Print Special allows you to place more than one window on a page, follow the directions listed in the Print Special dialog

Edit
•Undo allows undoing of some operations, you will have to use trail and error to find out which operations it works for

•Copy will copy the entire window if no region of interest is active or it will copy the region of interest.

•Paste allows you to paste the clipboard into the window.  When you paste the clipboard to a window, move the cliped data (picture) to the position you want, then click on the Paste box in to tool window.

•Duplicate will copy the ROI or window to a new window

•Paste options allows the user to choose how the clipboard will be pasted.  You can choose from so basic functions and math operations.  The result can be either copied into the selected window or placed into a new window.  NOTE:  Data copied to the clipboard can be either copied as a picture (PICT) or as tab deliminated text, these can then be pasted into a drawing or spreadsheet, respectively.

•Edit Data allows you to see your data in a spread sheet form.  Right now you can only look at your data, no editting is available, yet.  NOTE:  MacPhase takes a lonnnnnnng time converting the picture to data for the spread sheet.

•Re-Dimension allows interactive re-dimensioning of your data through mouse dragging.

•Change data type is not supported yet

•Zoom In, Zoom Out are not supported yet

•Enlarge allows you to symetrically enlarge your data array size.  Three levels of enlargement are available, rough, smooth, and smoother.  Rough just duplicates data values, while smooth and smoother convolves you data with a 3x3 array.

•Reduces allows you to symetrically decrease your data array size.  Averaging or no averaging are supported.

Math
•Simple Math allows you to do some simple math operations.

•Function allows you to do a specific function to your data

•If then... allows you to specify a range and replace data values accordingly

•Cook Compressor - Compression algorithm developed by Physist P. Cook

•Size Data - size the data in the active window NOTE: this is a centering operation.

•Abberation - allows you to generate optical abberation OPD.

•FlipFlop - moves edges into center and visa versa because of the way the FFT algorithm works, the low frequencies are at the edges and high frequencies are at the center

•Rotate CCW, RotateCW, Rotate about X-axis, and Rotate about Y-axis does either the whole window or a selection

•Rotate - This rotates the ROI or window a entered amount...this doesn't quite work correctly but you can Undo if you don't like it

•Show Statistics calculates some simple stats.  NOTE:  MacPhase calculates them everytime you select this menu item, if you have already calculated them before and you know your data hasn't changed, hold the Option key down while selecting this menu item.

•Show Histogram calculates the histogram of the picture representation of your data.

Filter
•Filter/Window is used to filter FFT data or window your data before doing an FFT.  This can also be used to make simple apertures of different functions.  The last selected filter is the active filter for the tools, see tools topic for more information.

•Simple filter is a convolution filter you can define your own 5x5 or 3x3 or use ones provided.   Here are some additional suggested matrix which can be used:

High pass:
                       -.3 -.3 -.3 -.3 -.3
 1 2        -.3 -.3 -.3 -.3 -.3
-2   2  or  -.3 -.3 9.7 -.3 -.3
  2        -.3 -.3 -.3 -.3 -.3
              -.3 -.3 -.3 -.3 -.3
-45°       45°
 2 -1 -1        -1 -1  2
-1  2 -1        -1  2 -1
-1 -1  2         2 -1 -1

•Dither is not supported yet

•Random Dither is not supported yet

•Binary is not supported yet

•Make mask and Apply mask are still in development, right now only make mask works.  Make mask allows you to make a mask of for you data depending on a certain data value.  In the future this mask will be used for some specific math operations, like Zernike fits, and for plotting.  In both cases, the mask will be used to determine which data values should be used.

Graphics
•Contour plot.  This contour plot does not do any spline type operations...Look for that in later versions.

•3D plot

•Color contour is a color scale

•Line plot

•Slide Show - allows you to quickly scan through selected windows in the form of a slide show or movie, follow the instructions in that dialog.  Text can also be displayed during the slide show.

•Graph Options - This gives you some control of how data will be graphed.  Allows you specify labels, tick number plot range, etc.

•Font and Font size allow you to change the font and font size in windows

•CLUTs varity of color look up tables and color scanning options. (See section on Mouse for more information)

•Refresh active window is used when Auto refresh is toggled off

•Auto refresh can be toggled on/off this will be used mainly when complicated 3D plots are visible.  Check this item so you don't spend all your time watching 3D plots redraw.

Transform
•Fast Fourier transform and Inverse FFT.  These are floating point FFTs so they are somewhat slow, 

256x256 : 79 seconds

128x128 : 21 seconds

64x64 : 
7 seconds on a Mac CX

I hope to optimize my FFT algorithm later.

•Row Fourier transform is not yet complete.  When it is finished Row FFT will allow you to take row only FFTs of 2D data.

•Zernike Fit is not yet supported

•Play as a sound - Allows you to play line plots as sound.  You can play 2D data if you first take a slice of of it using the Slice tool.

Extra

Extra consists of special options placed in MacPhase by special request.  Currently two options are or will be available:  Support of a Data Translation frame grabber, and a macro language.  If you have a special request feel free to contact The Otter Solution.

Window
•Rename window - allows you to rename a window  NOTE:  For MacPhase to operate properly, all windows should have a unique name.

•Hide Info,

•Hide CLUT,

•Hide Tools these allow you to hide/show these windows

•MacPhase keeps a window list to help you locate a window if its buried under a million other windows